package com.jgzx.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author jackesy
 * @className: IdDTO
 * @description: Id主键DTO
 * @create 2020/9/11 16:37
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IdDTO implements Serializable {

    @ApiModelProperty(value = "ID主键", example = "null")
    @NotNull(message = "ID不能为空")
    private Long id;

}
